home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 151-175 / scopedisk157 / dsize / dsize.doc < prev    next >
Text File  |  1995-03-19  |  3KB  |  79 lines

  1. ----------------------------------------------------------------------------
  2.        Gregg ***      ************   ***      ***   ************
  3.        ***********    ************   ***      ***   ************
  4.        ***      ***   ***            ****     ***   ***      ***
  5.        ***     ***    ***            *****    ***   ***      ***
  6.        **********     ************   ******** ***   ***      ***
  7.        ***  *****     ************   ***   ******   ***      ***
  8.        ***   ****     ***            ***    *****   ***      ***
  9.        ***    ***     ***            ***     ****   ***      ***
  10.        ***     ***    ************   ***      ***   ************
  11.        ***      ***   ************   ***      ***   *** Software
  12. ____________________________________________________________________________
  13.  
  14.    DSize - Written by Gregg A. Reno                              9/26/90
  15.                       805A East Lancaster Ave.
  16.                       Downingtown, Pa   19335
  17.  
  18.    * Feel free to do anything you want with this program.  Almost all of
  19.      the code was borrowed from the program named TREE by David A. Dette
  20. ----------------------------------------------------------------------------
  21.  
  22.      Ever need to know how much space is used up in directories?  Where
  23. is all of your hard disk space going?  DSize will do this easily.
  24.  
  25.      This command is designed to take an AmigaDOS disk or directory and
  26. display it and its sub-directories to the screen.  It will also display the
  27. disk space used by each directory, including all of the files and
  28. directories below it.
  29.  
  30. Syntax:    DSize <directory> <-max_levels>
  31.  
  32.  where
  33.     directory = a AmigaDOS directory or disk name
  34.     max_leves = the maximum levels of the tree to display.
  35.          For example, -1 will just display the directory
  36.          specified.  -2 will display the directory specified
  37.          and any directories directly below it.  No matter what level
  38.          number you specify, it will still look at all files
  39.          in all of the subdirectories.
  40.  
  41. Examples:
  42.  
  43.    1) You are running out of space on your hard disk and you want to clean
  44.       it up, but don't know where to start.  This command will show you
  45.       at a very high level, how your hard disk space is distributed.  You
  46.       will see the space used by DH0, followed the space used by each of
  47.       the subdirectories in DH0.  The total of the subdirectory sizes will
  48.       total the size of the whole drive.
  49.  
  50.               DSIZE DH0: -2
  51.  
  52.    2) You want to see how much space is used by your instruments, songs,
  53.       etc. in your music directory:
  54.  
  55.               DSIZE DH0:music
  56.  
  57.    3) To look at how the space is used on a floppy drive, you might type:
  58.  
  59.               DSIZE DF0:
  60.          
  61.  
  62.    The output may be redirected to a file or printer by using the standard
  63. CLI redirection system,  but the redirection must follow the command and
  64. preceed any directory or level options.  For example, to redirect the 
  65. output to a file, you might type:
  66.  
  67.         DSIZE >myout.lis DH0:
  68.  
  69.    To send the output to a printer, do this:
  70.  
  71.     DSIZE >prt: DH0:
  72.  
  73. ******************************* N O T E *********************************
  74.  
  75.      If you specify the name of a hard disk, like DH0:, it will look at
  76. every file on that hard disk.  So be patient, it might take a while.
  77.  
  78. ******************************* N O T E *********************************
  79.